<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<div class="day_menu_in_jcrousel ${dayMenuForBreifBlock.dayMenuCssClass}" id="day_menu_in_jcrousel_${dayMenuForBreifBlock.dayMenuId}">
    <span class="hidden_span userTableId">${dayMenuForBreifBlock.userTableId}</span>
    <span class="hidden_span dayMenuId">${dayMenuForBreifBlock.dayMenuId}</span>
    <span class="hidden_span dayNum">${dayMenuForBreifBlock.dayNum - 1}</span>
    <table width="100%" border="0" style="height:100%">
        <tr>
            <td class="dm_jc_em_cnt">
                <span>
                    <c:set var="eatingsCnt" value="${dayMenuForBreifBlock.eatingsCount}"/>
                    <span><c:if test="${eatingsCnt > 0}">трапез(${eatingsCnt})</c:if></span>
                </span>
            </td>
        </tr>
        <tr>
            <td class="dm_jc_daynum">
                <span>
                    <c:choose>
                        <c:when test="${dayMenuForBreifBlock.weekType}"><spring:message code="dayOfWeek.${dayMenuForBreifBlock.dayOfWeek}"/></c:when>
                        <c:otherwise>День № ${dayMenuForBreifBlock.dayNum}</c:otherwise>
                    </c:choose>
                </span>
            </td>
        </tr>
        <tr>
            <td class="dm_jc_date">
                <span>
                    <fmt:formatDate value="${dayMenuForBreifBlock.date}" pattern="dd-MMM-yyyy" />
                    (<spring:message code="dayOfWeekSmall.${dayMenuForBreifBlock.dayOfWeek}"/>)
                </span>
            </td>
        </tr>
    </table>
</div>
